var ul = '<ul id="menu">';
var finUl = '</ul>';

var offFirst = '<li class="off first ';
var onFirst = '<li class="on first ';
var off = '<li class="off ';
var on = '<li class="on ';

var indexCss = 'home home_fr_FR">';
var skillsCss = 'skills skills_fr_FR">';
var jobsCss = 'jobs jobs_fr_FR">';
var trainingsCss = 'trainings trainings_fr_FR">';
var hobbiesCss = 'hobbies hobbies_fr_FR">';
var contactCss = 'contact contact_fr_FR">';

var index = '<a href="index.html" rel="home"><span>Accueil</span></a></li>';
var jobs = '<a href="jobs.html" rel="jobs"><span>Expériences</span></a></li>';
var skills = '<a href="skills.html" rel="skills"><span>Compétences</span></a></li>';
var trainings = '<a href="trainings.html" rel="trainings"><span>Formations</span></a></li>';
var hobbies = '<a href="hobbies.html" rel="hobbies"><span>Loisirs</span></a></li>';
var contact = '<a href="contact.html" rel="contact"><span>Contact</span></a></li>';

var menuIndex = ul;
menuIndex = menuIndex + onFirst + indexCss + index;
menuIndex = menuIndex + off + jobsCss + jobs;
menuIndex = menuIndex + off + skillsCss + skills;
menuIndex = menuIndex + off + trainingsCss + trainings;
menuIndex = menuIndex + off + hobbiesCss + hobbies;
menuIndex = menuIndex + off + contactCss + contact;

var menuJobs = ul;
menuJobs = menuJobs + offFirst + indexCss + index;
menuJobs = menuJobs + on + jobsCss + jobs;
menuJobs = menuJobs + off + skillsCss + skills;
menuJobs = menuJobs + off + trainingsCss + trainings;
menuJobs = menuJobs + off + hobbiesCss + hobbies;
menuJobs = menuJobs + off + contactCss + contact;

var menuSkills = ul;
menuSkills = menuSkills + offFirst + indexCss + index;
menuSkills = menuSkills + off + jobsCss + jobs;
menuSkills = menuSkills + on + skillsCss + skills;
menuSkills = menuSkills + off + trainingsCss + trainings;
menuSkills = menuSkills + off + hobbiesCss + hobbies;
menuSkills = menuSkills + off + contactCss + contact;

var menuTrainings = ul;
menuTrainings = menuTrainings + offFirst + indexCss + index;
menuTrainings = menuTrainings + off + jobsCss + jobs;
menuTrainings = menuTrainings + off + skillsCss + skills;
menuTrainings = menuTrainings + on + trainingsCss + trainings;
menuTrainings = menuTrainings + off + hobbiesCss + hobbies;
menuTrainings = menuTrainings + off + contactCss + contact;

var menuHobbies = ul;
menuHobbies = menuHobbies + offFirst + indexCss + index;
menuHobbies = menuHobbies + off + jobsCss + jobs;
menuHobbies = menuHobbies + off + skillsCss + skills;
menuHobbies = menuHobbies + off + trainingsCss + trainings;
menuHobbies = menuHobbies + on + hobbiesCss + hobbies;
menuHobbies = menuHobbies + off + contactCss + contact;

var menuContact = ul;
menuContact = menuContact + offFirst + indexCss + index;
menuContact = menuContact + off + jobsCss + jobs;
menuContact = menuContact + off + skillsCss + skills;
menuContact = menuContact + off + trainingsCss + trainings;
menuContact = menuContact + off + hobbiesCss + hobbies;
menuContact = menuContact + on + contactCss + contact;
